﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class OaDocument
    {
        [StringLength(25, ErrorMessage = "ID字符长度25")]
        [Required(ErrorMessage = "ID必填")]
        public string Id { get; set; }

        [StringLength(25,ErrorMessage ="版本字符长度25")]
        [Required(ErrorMessage = "版本必须填")]
        public string Version { get; set; }

        [StringLength(256, ErrorMessage = "名称字符长度256")]
        [Required(ErrorMessage = "名称必须填")]
        public string Name { get; set; }

        public DateTime Create_Date { get; set; }

        public DateTime Modify_Date { get; set; }

    }
}
